home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3postef.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_POSTEFFECTMODEL_H = 1;
- include("real/code/r3ttag.js")
-
-
- var R3CLID_POSTEFFECTMODEL = 1211;
-
-
-
-
- // Description: Object describes its structure to the rendering engine. This base class does this in
- // 2 phases by sending R3PEFMM_RENDERBEGIN and R3PEFMM_RENDEREND methods to itself, see the methods below.
- // p3: Object, rendering engine
-
- R3PEFMM_RENDER = 1211000;
-
- function mR3PEFMM_RENDER(p3) {
- DoA(this.r3obj, 1211000, p3, R3TID_OBJECT, 0);
- }
-
- // Description: 1st phase of rendering description. A sub class should make the following actions: -
- // Define the clid of the object which will be created by the rendering engine to
- // render this effect. The clid is defined by the parameter p2. If it is not
- // 0, then a sub class has already set it and the value must be inherited
- // further as is. - Add the own attributes in the tag list given in 'p3'.
- // - Inherit the method to its super class with the abovementioned parameter changes When this
- // base class receives the RENDERBEGIN method, it sends R3FRM_BEGINLIBOBJECT to the rendering engine.
- // p1: Object, rendering engine
-
- R3PEFMM_RENDERBEGIN = 1211001;
-
- function mR3PEFMM_RENDERBEGIN(p1) {
- DoA2(this.r3obj, 1211001, p1, R3TID_OBJECT, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: 2nd phase of rendering description. Sub classes usually simply inherit this to the super
- // class. This base class sends R3FRM_ENDLIBOBJECT to the rendering engine when it receives this method.
- // This finishes the rendering actions.
- // p3: Object, rendering engine
-
- R3PEFMM_RENDEREND = 1211002;
-
- function mR3PEFMM_RENDEREND(p3) {
- DoA(this.r3obj, 1211002, p3, R3TID_OBJECT, 0);
- }
-
- // Description: enumerate all (static and dynamic) channel requirements R3DoA3(cbobj, cbmth, channelname, typeid (0 if unknown),
- // context);
- // p1: Object, callback object
- // p2: Integer, callback method
- // p3: Object, callback context
-
- R3PEFMM_ENUMCHANNELS = 1211003;
-
- function mR3PEFMM_ENUMCHANNELS(p1, p2, p3) {
- DoA3(this.r3obj, 1211003, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
-
-
-
- R3PEFMA_RenderBaseClass = 1211501;
- function SetR3PEFMA_RenderBaseClass(value) {
- R3Set(this.r3obj, R3PEFMA_RenderBaseClass, value, R3TID_INTEGER, 0);
- }
-
- function GetR3PEFMA_RenderBaseClass() {
- return R3Get(this.r3obj, R3PEFMA_RenderBaseClass, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Posteffectmodel () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_POSTEFFECTMODEL, arguments);
- }
- // Methods
- this.RENDER=mR3PEFMM_RENDER;
- this.RENDERBEGIN=mR3PEFMM_RENDERBEGIN;
- this.RENDEREND=mR3PEFMM_RENDEREND;
- this.ENUMCHANNELS=mR3PEFMM_ENUMCHANNELS;
-
- // Attributes
- this.GetRenderBaseClass=GetR3PEFMA_RenderBaseClass;
- this.SetRenderBaseClass=SetR3PEFMA_RenderBaseClass;
- }
-
- r3Posteffectmodel.prototype=new r3Ttag;
- // r3postef.h_H